package cc.atliberty.creating.abstractfactory.abstractfacoty0;

/**
 * 产品族2的具体工厂
 */
public class ConcreteFactory2 implements AbstractFactory{
    @Override
    public IProduct createProductA() {
        return new ConcreteProductA2();
    }

    @Override
    public IProduct createProductB() {
        return new ConcreteProductB2();
    }
}
